package cn.changeforyou.web.blog.po;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * <p>
 *
 * </p>
 *
 * @author aqian666
 * @since 2019-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table("blog_ip_address")
public class IpAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Integer id;

    private Integer userId;

    /**
     * 访问ip
     */
    private String ip;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 访问时间
     */
    private LocalDateTime loginTime;

}
